C (84/301)

From:Ben Hutchings
Date:05 Aug 99 at 02:04:19
Subject:Re: Re: Building structures dynamically

From: Ben Hutchings <womble@zzumbouk.demon.co.uk>

On Tue, Aug 03, 1999 at 12:54:54PM +0200, Steffen wrote:
> From: Steffen <steffen.mars@stenloese.mail.telia.com>
>
> On 30-Jul-99, Gabriele Svelto claimed:
> > struct Data
> > {
> > TEXT *String; (is TEXT a #define of char?)
> > ULONG Num;
> > }
> You should use typedef instead of #define in that case.

Also, TEXT is wrongly typedef'd as unsigned char.



Ben Hutchings - womble@zzumbouk.demon.co.uk, http://www.zzumbouk.demon.co.uk
Team *AMIGA* | Jay Miner Society | Linux - the choice of a GNU generation
Reality is just a crutch for people who can't handle science fiction.